package com.zhz.system.contract.enums;

import com.zhz.common.tool.mybatisplus.base.core.enums.EnumValueResolver;
import com.zhz.common.tool.mybatisplus.base.core.enums.IEnum;
import lombok.AllArgsConstructor;

/**
 * 企业可见性 0：不可见，1：可见
 *
 * @author zhouhengzhe
 * @date 2023/5/27
 */
@AllArgsConstructor
public enum PermissionEnVisibleEnum implements EnumValueResolver<PermissionEnVisibleEnum, Integer>, IEnum<Integer> {
    INVISIBLE(0, "不可见"),
    VISIBLE(1, "可见");
    private final Integer code;
    private final String message;

    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getMessage() {
        return this.message;
    }
}
